package com.qf.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

/**
 * 自定义任务类, 也就是定时任务执行的业务代码
 * @author 千锋健哥
 */
@Component
public class TestJob implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("==========定时任务执行了一次============");
    }

}
